// 请求基地址
let HOST = 'https://fy-musicbox-api.mu-jie.cc'
// #ifdef MP
HOST = 'https://musicbox-web-api.mu-jie.cc'
// #endif
export { HOST }

// 音源 server
export const SOUND_SERVER = {
  wyy: 'netease',
  kuWo: 'kuwo',
}

// 选项分类
export const SHARE_TABS = {
  categorize: [{ name: '歌曲' }, { name: '歌单' }],
  currentIndex: 0,
}

// 每页的数量
export const PASE_SIZE = 20

// 搜索历史记录最大数
export const HISTORY_SIZE = 10

// 播放器状态
export const PLAYER_STATUS = {
  currentTime: 0,
  duration: 0,
  percent: 0,
  buffered: 0,
  mode: 0,
  playbackRate: 1.0,
  smallPlayer: false,
  bigPlayer: false,
  paused: true,
}

// 默认播放器信息
export const PLAYER_INFO = {
  name: '天音',
  artist: '随时随地，享受音乐',
  pic: '/static/images/ty-music.jpeg',
}
